<?php

global $FU;
$config_dir = $FU->dir->config;
require_once "$config_dir/conf.d/principal.php";

// принципал
$ctx->rh->useClass("RL_Principal");
$principal = new RL_Principal( $ctx->rh, 
                               $config['principal_storage_model']);

$ctx->principal = $principal;
